#ifndef __CSTRINGUTIL_H__
#define __CSTRINGUTIL_H__

#include <string>
#include <vector>


using std::string;
using std::vector;

/**
 * @brief 字符串处理类
 * @note 
 */
class CStringUtil
{
public:
    CStringUtil();
    ~CStringUtil();

public:
    /**
     * @brief 字符串分割
     * @note 返回字符串被分割个数,
     */
    static int Spilt(const string &stSrcString, vector<string> &vecSubString, const string &stSeparator = string(" "), bool bKeepEmptyString = false);
};


#endif //__CSTRINGUTIL_H__